prompt: record latex-raw-string-docstrings as shipped (#491) - #256
Merged
Conversation
All six PRs merged: HowToFit#47, HowToGalaxy#70, HowToLens#73, autofit_workspace#145, autogalaxy_workspace#218, autolens_workspace#492. 41 files, 180 literals, 131 silent corruptions repaired. The record leads with the trap worth carrying forward: the prompt's diff-empty gate CANNOT catch a wrong edit here, because the generator reads source text rather than runtime values, so a corrupted value regenerates byte-identically. The check that does catch it — comparing every changed literal's runtime value HEAD vs worktree — caught two real errors mid-task. Also recorded: the Python 3.11-vs-3.12 warning-class trap, that '\\' is always deliberate whatever the surrounding math context, the CRLF-preservation trap, the one deliberate residue, and the open question on HowToLens#73's red smoke (proven to be red on main too; PyAutoArray#453 suspected but NOT proven). active/ -> complete/2026/08/; active.md section removed; complete/index.md and the dashboard regenerated.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Final lifecycle step:
active/→complete/2026/08/,active.mdsection removed,complete/index.mdand the dashboard regenerated.lifecycle.py checkandorphansboth clean.All six PRs merged — HowToFit#47, HowToGalaxy#70, HowToLens#73, autofit_workspace#145, autogalaxy_workspace#218, autolens_workspace#492. 41 files, 180 literals, 131 silent corruptions repaired.
The record leads with the findings worth carrying forward rather than the tally:
rprefix only ever removes corruption — caught two real errors mid-task: aprint("\nInfo:")newline about to be destroyed, and 12 already-escaped$\\chi^2$about to be doubled into LaTeX line breaks. Build that check first.\\is always deliberate, whatever the surrounding context — a math-context rule alone lets these through, since they sit inside$…$.SyntaxWarning-only sweep returns a vacuous zero on 3.11.write_textround-trip on a CRLF file turns a 1-character edit into a 549-line diff.Also recorded: the one deliberate residue (
autolens_workspace/scripts/group/likelihood_function.py, double-backslash convention, needs a convention decision), and the open question on HowToLens#73 — merged with smoke red, with a control experiment provingmainis red too, and PyAutoArray#453 suspected but explicitly not proven.Follow-up already shipped: PyAutoBrain#245 adds a
hygiene escapesmode so this debt is caught continuously.Note: the designated branch's previous PR (#255) was merged, so per the branch policy this restarts the branch from
mainand carries only the new commit.🤖 Generated with Claude Code
https://claude.ai/code/session_01MTjtx5mdituitiyQYFGn2E
Generated by Claude Code